package com.unittec.zk.provider.auth.entity;

import java.io.Serializable;

import org.jeecgframework.poi.excel.annotation.Excel;

import com.baomidou.mybatisplus.annotation.TableName;
import com.unittec.zk.provider.root.EntityRoot;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 部门信息实体
 * @author chengjie
 * @date 2019/10/16
 */
@Data
@Accessors(chain = true)
@TableName("sys_depart")
@EqualsAndHashCode(callSuper = false)
public class SysDepart extends EntityRoot implements Serializable {

    private static final long serialVersionUID = -7737121464830423040L;
    /**
     * 父机构ID
     */
    private String parentId;
    /**
     * 机构/部门名称
     */
    @Excel(name = "机构/部门名称", width = 15)
    private String departName;
    /**
     * 英文名
     */
    @Excel(name = "英文名", width = 15)
    private String departNameEn;
    /**
     * 缩写
     */
    private String departNameAbbr;
    /**
     * 排序
     */
    @Excel(name = "排序", width = 15)
    private Integer departOrder;
    /**
     * 描述
     */
    @Excel(name = "描述", width = 15)
    private String departDescription;
    /**
     * 机构类型 (0-一级部门，1-子部门)
     */
    @Excel(name = "机构类型", width = 15)
    private String orgType;
    /**
     * 机构编码
     */
    @Excel(name = "机构编码", width = 15)
    private String orgCode;
    /**
     * 手机号
     */
    @Excel(name = "手机号", width = 15)
    private String phone;
    /**
     * 传真
     */
    @Excel(name = "传真", width = 15)
    private String fax;
    /**
     * 地址
     */
    @Excel(name = "地址", width = 15)
    private String address;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    private String memo;
    /**
     * 状态（0-启用,1-不启用）
     */
    @Excel(name = "状态", width = 15)
    private String status;
    /**
     * 删除状态（0-正常，1-已删除）
     */
    @Excel(name = "删除状态", width = 15)
    private String delFlag;

    /**
     * 层级
     */
    private Integer departLevel;


}
